package com.ysxsoft.wdg.bean;

public class BaseBean<T> {


    private String code;
    private String ms;
    private int last_page;
    private T data;


    public int getLast_page() {
        return last_page;
    }

    public void setLast_page(int last_page) {
        this.last_page = last_page;
    }

    public String getCode() {
        return code == null ? "" : code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public String getMs() {
        return ms == null ? "" : ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseBean{" +
                "code='" + code + '\'' +
                ", ms='" + ms + '\'' +
                ", data=" + data +
                '}';
    }
}
